package com.cy.ppj.dao.mapper.city;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cy.ppj.model.domian.city.City;
import com.cy.ppj.model.query.CityListAdminQuery;
import com.cy.ppj.model.vo.CityListAdminVO;

import tk.mybatis.mapper.common.BaseMapper;

@Mapper
public interface CityMapper extends BaseMapper<City>{

	List<City> selectCityListByProductId(@Param("productId") Long productId);
	
	int selectCityListAdminCount(CityListAdminQuery query);
	
	List<CityListAdminVO> selectCityListAdmin(CityListAdminQuery query);
}
